exe=locker-control
user=root
host=g.eagle711.win
src=main.go

all: build cp

build:
	GOOS=linux GOARCH=amd64 go build -o ${exe} ${src}

cp:
	scp -P 2000 ${exe} ${user}@${host}:/root/${exe}


.PHONY:clean
clean:
	rm -rf ${exe}
